import { Empty, Button } from "tdesign-react";
import { useNavigate } from "react-router-dom";
import { HOME_URL } from "@/config";

const NotNetwork = () => {
	const navigate = useNavigate();
	const goHome = () => {
		navigate(HOME_URL);
	};
	return <Empty action={<Button onClick={goHome}>返回首页</Button>} />;
};

export default NotNetwork;
